package cn.ecnu.service.forum;

import cn.ecnu.pojo.forum.Forum;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ForumService {
    List<Forum> getForumList();
    Forum getForumById(Integer forumId);
    Forum getForumByName(String universityName);
    int insertForum(Forum forum);
    int updateForum(Forum forum);
    Forum updateForumPostCount(Integer forumId, Integer add);
    Forum updateForumHot(Integer forumId, Integer add);
}
